package com.zerocarbon.framework.common.result;

import io.jsonwebtoken.Claims;

public class JwtCheckResult {
	
    private boolean success;
    
    private String errorCode;
    
    private Claims claims;
    
    public JwtCheckResult(boolean success){
    	this.success = success;
    }

	public boolean isSuccess() {
		return success;
	}
	
	public void setSuccess(boolean success) {
		this.success = success;
	}
	
	public Claims getClaims() {
		return claims;
	}
	
	public void setClaims(Claims claims) {
		this.claims = claims;
	}
	
	public String getErrorCode() {
		return errorCode;
	}
	
	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}
}